<?php
class Admin_Acl_AdminUser_Index_Action extends NICED_Action 
{       
	public function execute() 
	{
        $this->forward("admin.index");

		$controller = $this->getController();
		$request    = $controller->getRequest();			
        $page       = $request->loadParam("page", 1, "posint");
        $page_size  = $request->loadParam("page_size", 10, "posint");

		$model      = $controller->getModel('Admin.Acl.AdminUser.Index');

		try
		{
            $params = array();
            $model->getList($page, $page_size, $params);
		}
		catch (Exception $e)
		{
			$controller->handleException($e);
			return self::SUCCESS;
		}

		return self::SUCCESS;
	}

}//end class
